package com.yunji.common.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yunji.common.annotation.Excel;
import com.yunji.common.base.BaseDelFlagDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

;

/**
 * @Description: 网点表$
 * @Author: HuaAo
 * @Date: 2024-04-02$
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_site")
public class SiteDO extends BaseDelFlagDO {
    private static final long serialVersionUID = 8867318815567053909L;

    @TableId(type = IdType.AUTO)
    @Excel(name = "主键ID", width = 15)
    private Long id;

    @ApiModelProperty("代理商ID")
    private Long belongId;

    @ApiModelProperty("网点类型")
    @Excel(name = "网点类型", width = 15)
    private Integer siteType;

    @ApiModelProperty("网点名称")
    @Excel(name = "网点名称", width = 15)
    private String siteName;

    @ApiModelProperty("网点联系人")
    @Excel(name = "网点联系人", width = 15)
    private String siteContacts;

    @ApiModelProperty("网点联系人手机号")
    @Excel(name = "网点联系人手机号", width = 15)
    private String siteTel;

    @ApiModelProperty("省份名称")
    @Excel(name = "省份名称", width = 15)
    private String provinceName;

    @ApiModelProperty("省份代码")
    private String provinceCode;

    @ApiModelProperty("城市名称")
    @Excel(name = "城市名称", width = 15)
    private String cityName;

    @ApiModelProperty("城市代码")
    private String cityCode;

    @ApiModelProperty("区县名称")
    @Excel(name = "区县名称", width = 15)
    private String countyName;

    @ApiModelProperty("区县代码")
    private String countyCode;

    @ApiModelProperty("网点地址")
    @Excel(name = "网点地址", width = 15)
    private String region;

    @ApiModelProperty("网点详细地址")
    @Excel(name = "网点详细地址", width = 15)
    private String address;

    @ApiModelProperty("状态 0-正常 1-禁用")
    @Excel(name = "状态 0-正常 1-禁用", width = 15)
    private Integer status;

    @ApiModelProperty("网点分成合同开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date siteScaleDates;

    @ApiModelProperty("网点分成合同结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date siteScaleDatee;
}
